from time import sleep
import yaml
from selenium import webdriver
from selenium.webdriver.common.by import By

from page_object_wework.page.add_member import AddMemberPage
from page_object_wework.page.base_page import BasePage
from page_object_wework.page.contact import ContactPage


class MainPage(BasePage):
    def goto_contact(self):
        pass
    def goto_add_member(self):
        #返回要跳转页面的实例对象
        self.driver.find_element_by_css_selector('.ww_indexImg_AddMember').click()
        return AddMemberPage(self.driver)
